package com.example.zaq.dao;

//20210520 zaq  引入,新增查询全部方法

import com.example.zaq.model.AspKindBook;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface AspKindBookDao {
    int deleteByPrimaryKey(Integer kBId);

    int insert(AspKindBook record);

    int insertSelective(AspKindBook record);

    AspKindBook selectByPrimaryKey(Integer kBId);

    int updateByPrimaryKeySelective(AspKindBook record);

    int updateByPrimaryKey(AspKindBook record);

    /**
     * 查询所有模板
     * @return
     */
    List<AspKindBook> getAll(AspKindBook record);
}